package com.hlkj.pay.vo.finance.resp;

import java.math.BigDecimal;

import com.hlkj.pay.vo.BaseMerchantResp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* 商户财务流水
* @TableName t_merchant_finance_record
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MerchantFinanceRecordResp extends BaseMerchantResp {

    /**
    * 账单id
    */
    @Schema(description = "账单id")
    private String financeId;
    /**
    * 变更前金额
    */
    @Schema(description = "变更前金额")
    private BigDecimal beforeAmount;
    /**
    * 变更金额
    */
    @Schema(description = "变更金额")
    private BigDecimal amount;
    /**
    * 变更后金额
    */
    @Schema(description = "变更后金额")
    private BigDecimal afterAmount;
    /**
    * 关联订单号
    */
    @Schema(description = "关联订单号")
    private String orderNo;
    /**
    * 类型 2:商户手续费 3:商户保证金 4:商户营销账号 5:机构分润余额 6:机构在途利润 7:机构冻结金额 8:机构余额
    */
    @Schema(description = "类型  2:商户手续费 3:商户保证金 4:商户营销账号 5:机构分润余额 6:机构在途利润 7:机构冻结金额 8:机构余额")
    private Integer type;
    @Schema(description = "类型 1:增加金额 0 减少金额")
    private Integer changeType;
    @Schema(description = "备注")
    private String remark;

}
